import {
	luoReuqest
} from ".."

export const departmentListApi = () => {
	return luoReuqest.get("/dep/all")
}

//  待支付订单
export const preOrderApi = (type, options = {}) => {
	return luoReuqest.get("/patient/consult/order/pre", {
		params: {
			type,
			...options
		}
	})
}


// 支付订单
export const createOrderApi = (data) => {
	return luoReuqest.post("/patient/consult/order", data)
}